import {api} from "@/utils/request";

export const GetPageLogs=(page,limit,userName)=>{
return api({
url:'/sys/useractions/getPageLogs/'+page+'/'+limit,
method:'get',
params:{userName: userName}

})

}



//新增
export const AddLogs=(data)=>{
return api({
url:'/sys/useractions/save',
method:'post',
data: data
})
}

//根据id查询
export const UpdateLogs=(data)=>{
    return api({
    url:'/sys/useractions/update',
    method:'put',
    data: data
    })
    }
//根据id删除

    export const DeleteByIdLogs=(id)=>{
        return api({
        url:'/sys/useractions/deleteById/'+id,
        method:'delete',
      })
        }







